<?php
class cheltuieliComponents extends sfComponents
{
    /**
     * Listarea cheltuielilor
     */
    public function executeList(sfWebRequest $request)
    {
        $this->cheltuieli = array(); //CheltuialaPeer::getList();
    }

    /**
     * Adaugarea unei cheltuieli
     */
    public function executeAdd(sfWebRequest $request)
    {
        $this->form = new CheltuialaForm();
        $this->form->request = $this->moduleName . '/xAdd';
    }

    /**
     * Vizualizarea/Editarea unei cheltuieli
     */
    public function executeView(sfWebRequest $request)
    {

    }

}
